<template>
    <div>
        <van-nav-bar title="搜索" left-text="返回" left-arrow @click="onClickLeft" />
        <search></search>
    </div>
</template>

<script setup>
import Search from '@/components/Search.vue';
import { useRouter } from 'vue-router';
const router =useRouter()
const onClickLeft=()=>{
 router.push('/home/index')
}
</script>

<style lang="scss" scoped></style>